button with background image and text html css

104

div#submitForm input {
  background: url("../images/buttonbg.png") no-repeat scroll 0 0 transparent;
  color: #000000;
  cursor: pointer;
  font-weight: bold;
  height: 20px;
  padding-bottom: 2px;
  width: 75px;
}
<button type=submit style="background: #ccc url(test.jpg); padding: 0.5em 1em">Go!</button>

Comments

Submit
0 Comments